package com.pro.entity;

import java.util.Date;

import javax.servlet.http.HttpServlet;

/**
 * Servlet implementation class CompanyEntity
 */
public class CompanyEntity extends HttpServlet {
	private int id;// int(5) PRIMARY key comment '公司id',
	private Date createTime;// dateTime comment "创建时间",
	private String companyIntr;// varchar(400) not null comment '公司介绍',
	private String companyCulture;// varchar(100) not null comment '公司文化',
	private String tel;// VARCHAR(20) comment '招商热线',
	private String address;// varchar(100) comment '公司地址',
	private String phone;// VARCHAR(12) comment '公司电话',
	private String email;// VARCHAR(20) comment '公司邮箱',
	private String img;// varchar(200) comment '公司图片'
	private String name;// varcahr()
	private String logo;
	private String url;
	private String x;//经度
	private String y;//纬度
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCompanyIntr() {
		return companyIntr;
	}
	public void setCompanyIntr(String companyIntr) {
		this.companyIntr = companyIntr;
	}
	public String getCompanyCulture() {
		return companyCulture;
	}
	public void setCompanyCulture(String companyCulture) {
		this.companyCulture = companyCulture;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getX() {
		return x;
	}
	public void setX(String x) {
		this.x = x;
	}
	public String getY() {
		return y;
	}
	public void setY(String y) {
		this.y = y;
	}
	public CompanyEntity(int id, Date createTime, String companyIntr, String companyCulture, String tel, String address,
			String phone, String email, String img, String name, String logo, String url, String x, String y) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.companyIntr = companyIntr;
		this.companyCulture = companyCulture;
		this.tel = tel;
		this.address = address;
		this.phone = phone;
		this.email = email;
		this.img = img;
		this.name = name;
		this.logo = logo;
		this.url = url;
		this.x = x;
		this.y = y;
	}
	public CompanyEntity() {
		super();
	}
	@Override
	public String toString() {
		return "CompanyEntity [id=" + id + ", createTime=" + createTime + ", companyIntr=" + companyIntr
				+ ", companyCulture=" + companyCulture + ", tel=" + tel + ", address=" + address + ", phone=" + phone
				+ ", email=" + email + ", img=" + img + ", name=" + name + ", logo=" + logo + ", url=" + url + ", x="
				+ x + ", y=" + y + "]";
	}
	
	
	
}
